package com.tgpms.web.hongbo.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tgpms.web.hongbo.entity.TubeDocument;
import org.apache.ibatis.annotations.Delete;

import java.util.List;

public interface TubeDocumentMapper extends BaseMapper<TubeDocument>{

    /**
     * 批量删除
     * @return int
     */
    @Delete("delete from tube_document")
    int deleteTubeDocument();

    /**
     * 批量插入
     * @param list
     * @return int
     */
    int batchInsert(List<TubeDocument> list);
}
